@import './theme.less';
@import './repeat.less';

:root {
  font-size: 16px;
}


// 版心
.container {
  width: 1535px;
  height: auto;
}


.box {
  display: flex;
  flex-wrap: wrap;
  background-color: @background-color;
  .box-header {
    .pos(fixed,0,0,@z-index:1);
    display: flex;
    width: 100%;
    height: 65px;
    padding: 0 1.5rem;
    border-bottom: 1px solid @keynote;
    justify-content: space-around;
    .logo {
      display: flex;
      flex: 1;
      justify-content: left;
      svg {
        color: @logokeynote;
      }
    }
    .option {
      display: flex;
      flex: 1;
      justify-content: right;
      align-items: center;
      padding: .5rem 0;
      .diving {
        height: 40px;
        border: 1px solid @diving-color;
      }
      .fontclass {
        .theme-change {
          width: 40px;
          height: 40px;
          margin-right: 1rem;
          border: none;
          border-radius: 6px;
          background-color: transparent;
          cursor: pointer;
          &:hover {
            background-color:@tiny-btn-changeColor;
          }
          i {
            color: @text-color;
            font-size: 25px;
          }
        }
      }
      .login-btn {
        position: relative;
        display: flex;
        height: 40px;
        border: none;
        border-radius: 6px;
        padding: 0 1rem;
        margin-left: 1rem;
        font-size: 16px;
        font-weight: 600;
        color: #fff;
        background-color: @logokeynote;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        &:hover {
          background-color:@btn-changeColor;
        }
        svg {
          color: #fff;
          margin-right: .5rem;
        }
      }
    }
  }
  .side-nav {
    .pos(fixed,@top:65px,@left:0,@bottom:0,@z-index:1);
    width: 207px;
    padding: 0 1rem;
    padding-top: 1rem;
    border-right: 1px solid @keynote;
    background-color: @background-color;
    .nav-list {
      li {
        display: flex;
        width: 175px;
        height: 40px;
        border-radius: 6px;
        margin-bottom: .3rem;
        padding-left: 1.5rem;
        border: 1px solid transparent;
        align-items: center;
        cursor: pointer;
        &:hover {
          background-color: @tiny-btn-changeColor;
        }
        a,i {
          font-size: 16px;
          font-weight: 600;
          color: @nav-text-color;
        }
        i {
          font-size: 20px;
        }
        a {
          letter-spacing: 1px;
          margin-left: .5rem;
        }
      }  
    }
    .diving {
      width: 175px;
      height: 2px;
      margin: .5rem 0;
      background-color: @diving-color;
    }
    .title {
      display: flex;
      width: 175px;
      height: 40px;
      text-indent: 1.55rem;
      color: @nav-text-color;
      align-items: center;
    }
  }

  .content {
    display: flex;
    flex: 1;
    height: 10000px;
  }
}


// 侧边导航的切换的类
.nav-change {
  color: @nav-text-changeColor !important;
  background-color: @nav-backgroundColor;
}

